home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD-ROM Now 11
/
CD-ROM Now MegaDisc 11 (1995-02).iso
/
discs
/
toolkit
/
12
/
install.bat
< prev
next >
Wrap
DOS Batch File
|
1994-10-27
|
1KB
|
73 lines
ECHO OFF
CLS
:START
echo Preparing to create a 1.44 megabyte boot floppy for Slackware Linux...
echo Please use the Cursor Keys to make a menu selection.
\utils\DOMENUT INSTALL.MNU
IF ERRORLEVEL 13 GOTO EXIT
IF ERRORLEVEL 12 GOTO XT
IF ERRORLEVEL 11 GOTO SONY535
IF ERRORLEVEL 10 GOTO SCSINET
IF ERRORLEVEL 9 GOTO SCSI
IF ERRORLEVEL 8 GOTO SBPCD
IF ERRORLEVEL 7 GOTO NET
IF ERRORLEVEL 6 GOTO NCR
IF ERRORLEVEL 5 GOTO MODERN
IF ERRORLEVEL 4 GOTO MITSUMI
IF ERRORLEVEL 3 GOTO CDU31A
IF ERRORLEVEL 2 GOTO BARE
IF ERRORLEVEL 1 GOTO READ
GOTO START
:READ
\view readme
goto start
:XT
set FLOPPY=XT
goto DRIVES
:SONY535
set FLOPPY=SONY535
goto DRIVES
:SCSINET
set FLOPPY=SCSINET
goto DRIVES
:SCSI
set FLOPPY=SCSI
goto DRIVES
:SBPCD
set FLOPPY=SBPCD
goto DRIVES
:NET
set FLOPPY=NET
goto DRIVES
:NCR
set FLOPPY=NCR
goto DRIVES
:MODERN
set FLOPPY=MODERN
goto DRIVES
:MITSUMI
set FLOPPY=MITSUMI
goto DRIVES
:CDU31A
set FLOPPY=CDU31A
goto DRIVES
:BARE
set FLOPPY=BARE
goto DRIVES
:DRIVES
echo Setting up for %FLOPPY% floppy...
\utils\DOMENUT DRIVES.MNU
IF ERRORLEVEL 3 goto EXIT
IF ERRORLEVEL 2 goto FLOPPYB
IF ERRORLEVEL 1 goto FLOPPYA
GOTO DRIVES
:FLOPPYA
format /q /v:linux a:
rawrite 12\%FLOPPY% A:
goto EXIT
:FLOPPYB
format /q /v:linux b:
rawrite 12\%FLOPPY% B:
goto EXIT
:EXIT
cls